<?php

namespace app\teacher\model;

use app\common\model\BaseModel;
use think\Model;

class Tag extends BaseModel
{
    /**
     * 标签
     */
    public static function getTags()
    {
        return self::where('typedata', 1)->select();
    }

    /**
     * 获取标签
     */
    public static function getInTagId($tagIds)
    {
        return self::whereIn('tag_id', $tagIds)->select();
    }
}
